package com.framework.service.yhbservice;


import com.baomidou.mybatisplus.service.IService;
import com.framework.yhbEntity.user.YhbRecommendMerchant;
import com.framework.yhbEntity.view.CusTranView;

import java.util.List;
import java.util.Map;


public interface YhbRecommendMerchantService extends IService<YhbRecommendMerchant> {

    /**
     * 推荐商户列表
     * @param token
     * @param pageNo
     * @return
     */
    List<CusTranView> getMerchantList(String token, Integer pageNo);

    List<Map<String,Object>> getYhbMerchant(Long agentId, Integer state);

    YhbRecommendMerchant queryRecommendBySn(String sn);

    Map<String, Object> getMerchantInfo(String token);

    Map<String,Object> recommendMerchant(String token, Long agentId, String name, String phone);

    Integer getYhbMerchantCount(Long agentId, Integer state);
}
